package com.yuelao.yuelao_backend.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum RelationshipType {
    FOLLOW("FOLLOW", "关注"),
    BLOCK("BLOCK", "拉黑");

    @EnumValue
    @JsonValue
    private final String value;
    private final String description;

    RelationshipType(String value, String description) {
        this.value = value;
        this.description = description;
    }
}